import axios from 'axios';
import SystemMessage from './SystemMessage';

const API_PREFIX = SystemMessage.globalSetting.reportServiceUrlPrefix;

export const callGetDocBase64Pdf = payload => {
    return axios.post(`${API_PREFIX}/getDocBase64Pdf`, payload);
};

export const callGenSysMsgReport = payload => {
    return axios.post(`${API_PREFIX}/genSysMsgReport`, payload);
};


